<?php $this->_extends('../_layouts/blank_layout'); ?>

<?php $this->_block('contents'); ?>

<div class="main">
  <h1><?php echo $show_box['title'];?></h1>

  <div>
    <h2>角色名称： <?php echo $show_box['info']['rolename']?></h2>
    <p>角色说明： <?php echo $show_box['info']['description']?></p>
  </div>

  <?php //$this->_control('pagination', 'my-pagination', array('pagination' => $pagination,'url_args' => $url_args)); ?>
  <?php $this->_control( 'PermissionsCheck', '',
                    array( 'url_args'   => array('role_id'=> $show_box['info']['role_id']),
                            'url_form'   => 'admin::roles/bind',
                            'checked_arr'=> $show_box['permissions'],
                            'hidden'     => array('role_id'=> $show_box['info']['role_id']),
                            ) ); ?>

</div>


<?php $this->_endblock(); ?>




